<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form role="form" style="text-align:center" action="/loginIn" method="post">
    账号：<input type="text" id="name" name="name" ><br>
    密码：<input type="password" id="password" name="password" ><br>
    <input type="submit" id="login" value="登录" style="color: red">
</form>
<div align="center">
<button ><a th:href="@{/add}" style="color: yellow">注册</a></button>
</div>
</body>
</html>